package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbAcceptance;
import com.ruoyi.tb.lmt.domain.vo.TbAcceptanceVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 验收主表Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-11
 */
@Mapper
public interface TbAcceptanceMapper extends BaseMapperPlus<TbAcceptanceMapper, TbAcceptance, TbAcceptanceVo> {

    boolean checkIfExist(Long lmtRepairId);

    List<TbAcceptanceVo> selectByAcceptance(@Param("id") String id, @Param("lmtType") String lmtType, @Param("lmtNumber") String lmtNumber, @Param("status") String status, @Param("repairChar") String repairChar, @Param("planName") String planName, @Param("workGroup") String workGroup, @Param("workUser") String workUser);

    String selectAcceptanceId(@Param("Id")Long id);
}
